<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入requre.js -->
    <!-- data-main 入口文件 -->
    <script data-main="js/main" src="lib/require.js"></script>
</head>
<body>
    <h1>hello,requireJs</h1>
    <!-- 测试使用jquery模块化的形式来实现给btn添加点击事件 -->
    <button class="btn">按钮</button>
    <br>
    <button class="btn-seckill">秒杀</button>
</body>
</html>